Wpe_Content_Engine\Helper\Search\Search S

Total Complexity 43
Dependencies 9
Dependents 1
Total lines 317
Lines of code 178
Logical lines of code 91
Comment lines 79
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
get_ce_posts()
A
40 12 55
get_search_fields()
S
56 7 18
format_hits_as_posts()
S
54 5 19
format_hits_as_ids()
S
61 3 12
found_posts()
S
70 3 6
format_hits_as_id_parents()
S
61 2 13
search_content_engine()
S
52 1 26
add_debug_message()
S
64 2 11
is_html_search()
S
79 2 3
is_admin_search_request()
S
79 2 3
get_offset()
S
77 2 3
__construct()
S
71 1 6
is_graphql_request()
S
79 1 3